﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MWTWorkUnitMgmtTool.BusinessEntities;

namespace MWTWorkUnitMgmtTool.Services
{
    public interface IProductionWorkUnitService
    {
        IEnumerable<ProductionWorkunit> GetProductionWorkunitsByBOM(string parentItemCode);
        int AddProductionWorkunit(string wuCode, string wuName, string itemCode, string itemName, string parentItemCode, string facility);
        int UpdateProductionWorkunit(string wuCode, string wuName, string itemCode, string itemName, string parentItemCode, string facility);
        int DeleteProductionWorkunitByWUCode(string wuCode);
        IEnumerable<Item> GetAllItems();
    }
}
